package cn.iocoder.yudao.module.bill.controller.admin.account.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 账户信息分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class AccountPageReqVO extends PageParam {

    @Schema(description = "账户ID", example = "13351")
    private Integer accountId;

    @Schema(description = "账号名称", example = "赵六")
    private String accountName;

    @Schema(description = "账户主人")
    private String accountOwner;

    @Schema(description = "账号备注", example = "你说的对")
    private String accountRemark;

    @Schema(description = "账号启用日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] accountStartTime;

    @Schema(description = "账号停用日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] accountStopTime;

    @Schema(description = "是否计入流水")
    private Integer hasWater;

    @Schema(description = "是否启用")
    private Integer hasEnable;

    @Schema(description = "资金归属")
    private String moneyOwner;

    @Schema(description = "账户类型", example = "1")
    private String accountType;

    @Schema(description = "银行名称", example = "李四")
    private String bankName;

    @Schema(description = "银行卡号")
    private String bankCard;

    @Schema(description = "排序号")
    private Integer orderNum;

    @Schema(description = "逻辑父账户", example = "21530")
    private String logicParentAccount;

    @Schema(description = "标记余额")
    private BigDecimal remarkBalance;

    @Schema(description = "标记余额时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] remarkBalanceTime;

    @Schema(description = "额外参数")
    private String extParam;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}